package com.bryanbibat.flashcards.spring;

import java.util.ArrayList;
import java.util.List;

public class FakeDeckService implements DeckService {

  private List<Deck> decks = new ArrayList<Deck>();
  
  @Override
  public List<Deck> getAll() {
    return new ArrayList<Deck>();
  }

  @Override
  public void saveDeck(Deck deck) {
    decks.add(deck);
  }

  @Override
  public Deck getDeck(String id) {
    return null;
  }

  @Override
  public void deleteDeck(String id) {
  }
}
